Update before branching