update MSG_GRAY to MSG_BLACK