Fixed small API things
API example update