update resource format with changed format