mongoService: update an object in a collection