I5 6400 on an MSI z170A PC MATE

I want to overclock. the problem is I don't really know how for my specific system. As said in the title, Im using an i5 6400 on a MSI z170A PC MATE. ive already looked at the overclocking guides for this setup but I don't feel like the guides are specific to my system. BTY, I have an CoolerMaster Hyper EVO 212 and a Corsair 500w PSU so im not looking for anything extreme. so how do you do it?

Did you allready updated your bios with the correct bios,
that enables non K overclocking on your particular motherboard?

I was following this guide and i downloaded the bios for my motherboard, but when i booted into flash, the system tells me the bios is not an MSI bios.