updated model api referece