models and api update