update demo code arguments

The demo code was not updated from a previous version, I believe, so it didn't have the decimal and duration arguments passed in.