add modify detector

Add a detector to check whether the server setting changed.