update tags name field and syntax in models