add digest to backend