Fixed MongoResource put action