change repogitry structure