added playerstate, updated player