update onRequest docs