update README and demo code