Changed update method to use github & json