Update update-template.sh

adding cd to update_template.sh directory. Ensures script works even if executed from outside the directory.