update AlphaToGray