The user guide has a chapter about installing a vault application, please see: https://www.m-files.com/user-guide/latest/eng/Applications.html?hl=install
Installing an update to a vault application is easy enough, although some applications may require changes in the vault. Basically, you can just click Install in the Application window (M-Files Admin -> Vault -> Right mouse button -> Applications -> Install) and then select the application .mfappx (or .zip) file and click "Open". Then the update will be installed on top of the old application version.
More technical stuff: If the application internal GUID in the application appdef.xml matches to the one that is already installed, the new application will be installed on top of the old application the with matching GUID. If the GUID is different, the application will be installed side by side along with the already installed applications.
