updated filewatcher