fixed bug in units update field