update readme and inline doc