added piping from xml file to put request