update gaussian / bilateral filter