Update dialogue.js