Updating the way to create a Data