Update repository type