UpdateService unit tests

Added unit tests to UpdateService for complete code coverage