update mongo settings and create_app