update repository database