add max_file_uploads to attribute