refactor BookRecordAPI