Android updates are only provided by the cell phone vendor and rarely are provided for more than 2 years from the time of release of the model. The Samsung Galaxy S8 was released in April of 2017, so I would not expect any updates of the basic Android operating system other than security updates and Google optional software after April of 2019, if that long.