updating parts of the preprocessor code