update head management