update model code