Updating edit mode