Fix update repository