Testing update functionality