update codes
jdom external variable fix