Change repository type