upgrade for latest head