update a unit when the value is divisible by 1024
update the version