Changed the update detection logic, it's now much more naive, but previous method was broken anyway