delete generated files and modify thrift idl