update resetpwd.js