update Password method