update model with api changes