fix the bug of being unable to update the tag info after edting the tag content