updates before showing the world