implement #use method
update #use
handle error
implement embedded middleware