edit and delete document from collection feature