Added dedicated function for updating Data object associated with a Model.