Add option repo in update function (usefull for Digidisk)