fixed external update detection (issue #101)