how to update foxconn n12535 motherboard bios?

Solution
Updating the BIOS won't help with keyboard problems.

Try a different keyboard, preferably a native PS/2 type rather than a USB one (if your PC has a PS/2 port of course).