fixed errors in name function in tag model.  Update tags#index view