updated media and file entity