Changed to actually update repo object