Update drawing functions