index doctype modification