updated statusresponsewriter