If you want to update the appium use this command: (this is not for updating the dmg). Tested on mac, it working.
Open your terminal and enter the below command, this will install the latest version of Appium. Don’t use sudo.
npm install appium -g
YouTube video with steps: