Updated scanDuration attribute when duration is provided from Scan input JSON