updated updateTrigger to accept JS Date