updating shared