Created a function to update the user's measurements