add overwritten callback

when calc cache bytes, on data overwritten, must add newValue length and deduct oldValue length