Implemented version checking on updates, fixes #2