Fixed document updating (ID should ObjectId) also fixed deleting documents with string ID.