Update hadlock.cc