update the error index and term returned from watchhub