update after write