update StatusCode

StatusCode are completely different from those used earlier. they are now hopefully correct.
small updates