update for new github api