generate xml file on product add