udates ServiceProvider and fixing config parameters