Show the correct version for the update

Fixes #3
Specify the GitHub API version in the accept header
A small code style fix