Updated to work with latest github API