add index on foreign keys