Update and refactor processing model.