Update npm in before_install instead of before_script