added event to mount publish api