<?php
run_query("UPDATE " . $config['table_prefix'] . "calc SET calculate = REPLACE(calculate, 'select_value_old.php', 'select_value.php') 
           WHERE calculate LIKE '%select_value_old.php%' AND calculate LIKE '%autocomplete-settings.js%'");
run_query("UPDATE " . $config['table_prefix'] . "reports SET form = REPLACE(form, 'select_value_old.php', 'select_value.php') 
           WHERE form LIKE '%select_value_old.php%' AND form LIKE '%autocomplete-settings.js%'");