save the world state