Update player code