Updates the main scene