changes for the New and Old Database