Fixed tag update bug