* Added an update function