optimze trigger logic
update dist