Updating Warcraft III from version 1.21 to 1.22 is easier than it might seem, and Blizzard provides official support to help.
Simply launch the game and choose Battle.net from the menu. To log in, you will need the latest version, so the client will automatically download and install the necessary patch. It checks what you are missing and grabs everything for you, which is by far the simplest route.
If you prefer to do it yourself, you can download the patch file directly from Blizzard's support site and run it as a program. It will launch the update process in your game folder and bring your installation up to date.