update function delete popup