update data when running get;
write to file instead of stdout;
update data;