Changing update.sh to use jq for json parsing