update fields min and max sizes