Code format, Fix update model