update draw script