Updated word so it uses SqlALchemy