update keys