Fixing updating problem.