updated slider and model