update sql required