UPDATE sync SET entityName = 'note_images' WHERE entityName = 'notes_image'; UPDATE sync SET entityName = 'note_tree' WHERE entityName = 'notes_tree'; UPDATE sync SET entityName = 'note_revisions' WHERE entityName = 'notes_history';