add valid and change repository