we don't need persist() when we modify a record, flush() is sufficient.