XML writer now updates the database (4 of the 6 data points).