Update pull request logic