Refreshes the data model.