update status response handler to include headers