[OJS 3] Is there a way to turn supplementary file galleys into article text (submission, primary) galleys?

Hi everyone

I have noticed that one issue in my OJS 3 journal has principal file galleys (PDF, HTML, XML) as supplementary, i.e this galleys were created as supplementary galleys. This cause some problems that for example the Usage Statistics plugin which shows the downloads data through a chart, no display it. Another identified problem is that in the issue table of contents view, all these galleys are not displayed. I have been encouraged to turn all these galleys to primary galleys, I have some clue how it could be accomplished from DB using UPDATE queries; however I would like to know if this is the correct way to do it? and which tables and columns I have to modify?

I hope someone could help me with this doubt, thanks a lot in advance.