additional tweaking to prevent unneeded re-parsing, current_tag now returns '' if there is no need for update