modify Sql class