updates for background estimation