Updating to make write-concern configurable