update: database script.