change doc type