Add checks for dropbox directory in update_dropbox