update github api & make shell script that extracts diff file