update draw functions