Update duration.js