fix update_tag_thresh_day