Update the history and the PullRequest.links attribute