Change IStatement and update parsed query