implemented updating server
now only updates when master branch changes