Update contents.js