fix the github api update issues