merge cherry-pick and update rgithub API