Handling of updates and revoke of keys