Phase 4 complete : Writing docInfo to db done