updated remove_snapshots