API update

added: (record).data('key') returns the value of 'key'