changed avg sentiment style and made migration