model code update