updated sqlalchemy-example endpoint