Put updaters into a class to factirise some code, Udpdate priority has now a getIndex() function to avoir casting enum