update formatter interface to pass on cache