update head width