Updating macOS High Sierra should not affect your data. However, it is always a good idea to backup your data before installing any updates.