local changes before update