variable update