upd draw method