Changed config paramenter in sql from prequeries (horrible name) to updates