updateDB script changes