update record preocessing and makefile