fixed updating displayed units