change environmental variable for key