trying to update hidden field when user inputs range