updating model objects