Update with pl/pgsql code