This commit contains a full working function to change password
update