Adjusted variable name in item update method