Update trigger.sql

upon update instead of insert