fixed errors with updates