Add adding/updating/deleting to xml lens database; need to improve file formatting