Update SDB from git
Fix infinite loop in ~.