renaming update def to update op