update head titles