Fix path to virtualenvs
Split updating code into separate method