better version of update_code_github_stats

fetches new stats on each save, addressing #199