Update the tag length