begin variable update