add digest to mutable