Added update key feature.