changes model api