add processable and refactor
datafile + CasUpdateProcessingState