Improved manytomany relation for tags