Changing keys and Id's