added code changes to reset statuedetails