update to work with current pyinotify