Replace match insert trigger with a function