Update document <head>