updated checkProvider and checkService