mass update fix in model