updated sqlalchemy example