update for 1.0.0rc2 in which Record.record?/2 was removed