updating doctype