Updating title logic.