insert XML into SQL database
updated mypub models