set doc type to advanced