update shared_data instead of overwriting it