reorganized the repository table