also how do you remove a province/character modifier, I am trying using remove_province_modifier and remove_character_modifier, but it doesn't seem to work
It does work, there's probably an error in your code somewhere. In my experience remove_character_modifier removes all instances of the modifier if it is stacked, though.