Rewrite implementation of edit pull request message