Make sure you are passing the ID for both tables to the model from the view. In your case it's the key for the table Person and UserProfile.
If you dont need to show the ID on the page you can add
@Html.HiddenFor(model => model.PersonId) and @Html.HiddenFor(model => model.UserProfileId)