Added ObjectId to database