add revert action for snapshots