added hints to save IO

Instead of reprocessing the heavy IO while invalidating the key, you can pass the new value (hint) providing that you have already calculated (queried?) it.