Update root to the HEAD.