data from my db to be my subdomain names?

One way would be not to update your “subdomain data” on model update. Have a separate field which stores that data only on create. You work around the problem. Wordpress (by default) takes a similar approach on blog posts resaved with a different title.