full function to change two clients map address