Updated to github API