MC-1267, fix timer calculation in update callback