documents and remove relations DocumenType