update
reconfigured routes to use one db instance