[DB] Really fix the Update SQL