fix bug
update
add model api
model api injactation