change source and target selects depending of the repository