Added some update functions