update for the last time