added insert queries to some tables