Revisions

I’m currently editing my novel and I’ve realized that I am doing way more revisions than editing. Right now I’m basically rewriting the entire book and changing a lot of the plot. When I started editing I did not plan on this happening and I’m wondering if anyone has ever had something similar happen. Is it okay that I’m doing so much revising or should I try something else?