Update doctype