Updates commit head