update event api document and modify attribute module api