Change Empty Group Id To Null In Function Smps Update