updates to green tire change - DB conn switch

When dept changes (in url) then DB changes in API