Refactoring tbl_change.php