Improving mechanism for updating player state, preparation to the 'Task 8'.