stash changes before update