update tag handling in controller
update tag handling in index view