repo upgrade