change model and types