xml created and database changes complete