New atomic updates multi-threading example