add function added

now we are able to add entry to xml and syn to its file