Added password-update functionality