update manage db functionality

+ new document
+ delete an element in all documents in a collection
+ add an element in all documents in a collection
+pagination