udpate autotag script