a first update method has been implemented, atm we still need to
manually remove the old file and rename the new one, but at least it's a
start. I'll probably have to write a shell script to automate this part
since we can't delete a running application..