add detail document