update for snapshot