Replace deprecated function calls with correct equivelent

Using correct new method with MUST_EXIST on record calls.