Update before script for travis-ci