fixing updating