update repo patch