added entry id to the xml element