Update passwds method