server delete and create