Update head.cpp