Use block to save record.