update ws response handler as per backend changes