update logic of world coordinates