working on mongo upload