Commiting Query Changes