Created updateScene() method