Definetly, you should always have a peasant militia of about 5 units in each province to increase loyalty. The buildings help, but in the long run it's all about the troops, no troops means revolt, almost in all cases.