figure out the issue with the data model not being updated