removes iffes in favor of a function on the controller for updating the tag

Signed-off-by: Sam Heuck <sam@samheuck.com>