update to work correctly with connections config