more sql updates