Update MemoryCacheStorage.java

write lock on update cache item
Merge pull request #19 from hanskr/patch-2

Write lock on update.