add lua api for event new/init/add/del