Updating with some array and slices self study