update to model apis