retrieval and modification now working. Perhaps changed shema in previous revision as there were some issues there