create indexes for tables: Annotation and Reference