fix keys from update