A retail technology firm has extended its 104,000-square-foot lease at a Gloucester County office building, whose owner is now embarking on $10 million in upgrades at the property.