rename extend method to `mergeData`