Add command register_snapshot