update if/else boolean lecture