Updating the sample sketch