fix sql
change config to upload new xml