commit update of player and element class