more idiomatic way of doing this
upgrade sqlalchemy