add readme and update examples
update document and fix message validation