finish mongo integration