Merge with Database