update model with category