Added getUpdateCode static method.