Moved npm update to before_install step for travis-ci