Use merge() to update cache data

Change-Id: Iffe3b2c1477ac03101cb424bd88327cdfbfc2aa7