fix huge bug with update.sh

It deletes the content of the .git directory