improve update repository