rollback changes in edit