(performance) Only select online instances when getting roles + upgrading sequelize