changed db to mongo