update doctype and html to new way.