Began update function