change database script