CDB relocate

moved CDB update to top