generate model code commit