middleware update & reply concept