update snapshot file