Editing: patch_state