update databaseSQL