updating has_many through uniq