DB merge