Fixing issue where changes to MediaFiles were not saving.