rename and connection