Fix cache update method
Fix cache update method

Support update with existing entry.

Change-Id: I0a242c9580ae0a521fddb8bf4fc4c2b8be3507c0

Samsung/cynara,pohly/cynara,Samsung/cynara,Samsung/cynara,pohly/cynara,pohly/cynara