UpdateNotify refactor. Possibly working on OS X, Linux, OpenBSD, Windows, NOT TESTED yet