added new api for delete