update reference for tag