Add Gist update method and tests for whole class