add promise use for delete