Update API example.