This document proposes an enhanced controller for an integrated Unified Power Quality Conditioner (iUPQC) that improves its functionality in power quality compensation and microgrid applications. The iUPQC uses a modified controller that allows it to provide reactive power support to regulate the load bus voltage as well as the grid side bus voltage, acting as a Static Synchronous Compensator (STATCOM) on the grid side while also providing traditional UPQC compensation on the load side or microgrid side. Experimental results are presented to validate the new functionality of the device.