changed notification sql