Fix updates not being properly installed

Very stupid misnamed variable