minor api demo update