Update SQL Model