Added a update function