update cortex version to 1.0.5.21