fixed my edit client function.  Now working properly.