update cortex dependencies