Update director.js