update keys management