The update script requires the directory of the previous server installation
as the first parameter:
sh update.sh PATH-TO-SERVER

Basically the script replaces all java library files in lib/. It also replaces
some system files which should not be modified by the user, For instance,
system/displays.
