update script to regenerated thrift files