inseting and fetching data from CP