Fixed bug in triggers not firing under updates