delete and create operation