update password valid