Added min/max handling and UI update for the upload field