Updating templates models and api