update several inputs at once by changing value on slider