update the serviceExample script