Added new updateCode; Fixed method to get updateCode.