Fix security role updates to flush cache when a role is updated
Fixes #234