update script for travis-ci