require validate and merge