Fixed the update order on "update all"