update tags with anchor