Skeleton of update() written