updates gallery importer to fit the new data model