Updating key