updating sanity data for adaptive bilateral filter