change connection Factory