update name to write to