Fixed state updating issue in client/server/robots.