change keys to use newly merged ones