Update maximum number of faliures