move all the update shit to utils