update readme and some code document