add set value and trigger evts function