Yea, they don't look good but, as long as there's life then there's a chance they'll recover. Being autos you're working against the clock. So, I would only concern myself with what you can do. Disturbing a plants roots can send them into shock for a short period of time. Doing so with an ailing plant could be a death blow so I wouldn't repot until they become healthy. I would monitor the soil's moisture content by trying to determine if they have sufficient water. The weight of the pot should indicate how much moisture there is. Then, trying to determine how much roots there are and if they only occupy a tiny portion of the pot. If the roots are only in a small part of the pot then the remaining soil may be soaked and the area where the roots are may be dry. That would be good to know. You would want to let the wet areas dry out while sparingly watering the roots. That'll be tricky but quite possible. From what you've posted and said it sounds like they dried out so if that's the case then providing the right amount of water in the right place should be easier. The plants are probably not taking up much water so they should be moved back from the lights to reduce the burden of trying to keep up with them. Kinda like a having a patient in a bright room but out of direct sunlight until they recover. So, I would reduce the light and let them sip water. Another thing is air circulation. Because they're ailing their resistance to things like mold and mildew would be compromised so I would keep that in mind. I wouldn't point a fan at them but I would want to make sure there is fresh air.
Regarding soil: I'm presently using a soil called Kryptonite which is sold here in Canada. It's specially made for cannabis and so far appears to be really good. It's the first time I've used it for cannabis but I've used it for tomatoes, peppers, etc. and really like it. In the past I mixed my own soils from peat based soils. I added blood meal(nitrogen), bone meal(phosphorus), bat quano, wood ashes, something from the sea like kelp meal, worm castings. I believe I explain the mix a little better in one of my grow journals. You don't need to be paranoid about soils and overthinking is natural. My guess would be that the soil you're using is just fine and you don't have to think about adding anything. The soil that I mix will last the entire grow without adding anything else. I expect the Kryptonite will provide everything for the entire grow without adding anything.