records: update field definitions and functions

Signed-off-by: Esteban J. G. Gabancho <egabancho@gmail.com>