saving data of pencil product