implemented updateUnitStatus api Integration.