fix service update and service stopped