udpate constant name
Merge pull request #5178 from antograssiot/3.0

3.0 update API example