Update tech3.cpp