update head file