Adjusted variable name in update