Sql Update Trigger Example Postgres