rebuild the virtual environment