refactory category into assocation, update seeds