Fixed cogwheel update security