updated sqlfile