updates and model