Added Edit Document Function
TODO: Reports