update to rgithub's new API