update sqlalchemy code to have lower compatibility