updated edit method because parse_str was not the right function to use with this kind of object: in fact & was not parsed and the given string was truncated