Updated the reading of the tags