Fixed problems with changing keys of subelements of returned results for update