use write_attribute_dble for backup as well