Update approved.js