Updates keys