Add trigger when dates change