Updating the import functionality and the view