update slider demo