update world.cpp