ddatabase script update