modify several tables