on slide update value