Return modified document when updating with upsert set to false or undefined