insert parent name in database column to create index