change model many_to_many link declaration.