Update before upgrade