Added auto-update triggers for numNotifications, numParticipants, and other auto-incrementing fields