change delete api