allow update-record-from-slots to accept slot names or slot