better use of github events api to populate the news table