Fixed error with updates