Change the struct of the repo