update quest.js structure for update button status