update dump database script