update slider bahaviour