accounts: update func of SetPasswd