fix README

This PR fixes README to synchronize sample codes/names with latest project codes.
@pmjones did you checked the conversation about the `modify` and `define` or you think it is ok ?