update code example
add new example
fix arguments mapping