passing objects to create or update PDirectory, PNodeLink