Update components' and subindexes' weights