update tag generation script