Update photo.js