updating draw process