Modify models from the sql queries

When I am making a changes in model (through the sql queries). Save changes button is greyed out.
I'm using metabase version 0.50.32.

Is there any solution for that?

I don't prefer to recreate the model from the beginning as this would affect in all created visualizations and will need to recreate all the work again.