Set default parent_id on initial save