Update before setting