Updated to new github api