change class sql_db