use mongo in production
deprecated