Update the commit ref