updating the scene