updating the method of storing tags from appending the data to the view to appending it to a list that can be updated