fixed Store#update with a deep clone instead a shallow one