Renaming update function.