Update incorrect variable