lib: renamed SB_DBOP_SET_RECORD to SB_DBOP_ADD_RECORD, and packet API