update drawing