Update before fork