updated response class