merge for rekey