added option to dynamically update tags