update drawing.js