OnUpgrade database functionalities are changed.