upgrade core