update pic example because of update in pic library