Update to receipt code