update to SQL file