Updating the snippet