rename updated-world to world
refactor to conditional for world assignment