modified db task to match new config keys