Document Management in a Electronic Document Database