added publishInterval, improved path events