added cache removal when new keys are registered