update player and square classes