fixes update_all setting all values to 0