Text this: Prediction errors drive dynamic changes in neural patterns that guide behavior