Australia updates law to protect data after Optus hack