Update instrument.cpp