Update the FreeRTOS related code