updated PwdHashing