before insert add custom field so we dont have to do two queries per
registration