Fixed name of state update variables.