updated snapshot saver