Use github API for updates

This is presumably better.