Updated to latest github php api