update xml file and create contact functions