adding latency option and update the dynamic decision model