update editor api document and add demoes
update editor api