add realtime delete function