Updated maximum values in input fields