Return the record after updating