update repository to latest