modifyList2 function

Interface to R's modifyList