fix update templates script to use proper accept headers
add api version accept header to update templates