[MODIFY] modify the slot in endpoint to handle data.