Advanced accelerator magnets for upgrading the LHC