update banner logic.