update to keep reference to the soap client