alembic, updates to model and data processing functions