Create method to update password