fix enumeration syntax error
clone tsdp file object
saving to database update