update playstate