If your Nitra te is at 40 then it has already run it's course.
Ammonia->Nitrite->Nitrate
If you don't have something that takes up the Nitrate, like macroalgae (Chaetomorpha, Caulerpa, Gracilaria, etc.. think seaweed), then the only way for it to leave the system is through water changes.