update pinTable[] design