Support mongodb CRUD function