updates to the models