updating db loading script