update slider and form