updated grayscale filter