use merge on partials and data