add GetUpdateStatement from sqlpg example