Added missing SQL updates