adapt request handler to new schema