update Prewitt filter