Update sql db file