database script updates