update picture.js