update tag generation