added worker to connect to new postgresql db