fix database renaming
Add default_url_options to routes