Update reference to MongoDB ObjectID