update the head file