modify database script