fixed updating products bug