physics updates with web workers