Dynamically change update_interval

Yes, this is the solution. OttoWinter has also suggested the same here. here
Although in his solution he recommends to define the initial interval as never and then define time intervals. I know I have had issues with using time intervals along with other things - the esp simply crashes , so dont know how best is it.