updating evrything from distributed approach