Updating express ref in web.js