Update + detail.js