added a function to update the instance of a service if it already exists ('Set' only updates the service definition)