changes in sql and xml