Refactor record saving response