change triggger function for a numbering module
numbering as a trigger, add trigger before_create and before_update