add relate doc to subject