fixed bug. model now updates when a tag is selected