Update paint.js