Change watching function. Cange server response for index.