changed github update method to post