update models to use mongo connection from settings