update the snaphsot