Update directory.js