update purple mask