Updated indexes for pwms