add index for profiles