Updates the draw process