Updated update to github api