add before_update to .travis.yml