Update gridx to head