Updates logic for service codes.