This:
http://www.asrock.com/mb/intel/H87%20Pro4/?cat=CPU
Is the list of CPUs supported by the ASRock H87 Pro4 motherboard. The rightmost column tells what version of the BIOS is needed to run any particular CPU.
When you buy the board, the vendor should be able to tell you what version of BIOS it has and guarantee that it will run any compatible CPU, or they need to promise to update if for you, if needed. or exchange the board for one with the right BIOS.
Look in the list for the i3 that you have bought, If it says All in the BIOS list everything is great. If not let me know which CPU you have.