reverting to snapshot