update public_activity and local