add download instructions, update example code