Updates a server app and gateway app.