Update if/else block practice