update SQL file