Update when detecting file changes