store data in MongoDB