small bug fix, update process still not functioning properly though