Add update

add update function in the main script to run if server posts "update"
in the cmd.txt