storing data to mongodb enabled