update attr, event等模块