renamed media column to photos.