add post-update.sh and adapt server.coffee