Update drawing API