update statement.buildConditions method to support pointer values update
code tidy up