You can update Microsoft Edge in a few ways, depending on the browser version you have, and whether you're using a Mac or PC.
The Discord desktop app automatically checks for updates when you open it, but you'll have to use your phone's app store to update the mobile app.