upgrade to head