now saving data to mongodb instead of sqlite