update demo code and use options.remote