database script update