add index to all tables