Changed trigger to an after trigger.