if you add photos and the reason why you want to change to 40 pin then it will give people a better understanding of what you are trying to do
+
+
=== Update 06/23/23 ===
+
++[link|https://www.ifixit.com/User/4338372/Learning201|@learning201|new_window=true]++ you would need to find out what each pin is for, some will be ground, others could be for single rails or you could have 2-3 pins connected to 1 rail